home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 4
/
The 640 Meg Shareware Studio CD-ROM Volume IV (Data Express)(1994).ISO
/
clang
/
cenvid.zip
/
REBOOT_1.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-05-25
|
1KB
|
27 lines
@echo off
REM *****************************************************************
REM *** Reboot_1.bat - Reboot computer by jumping calling the ***
REM *** boot interrupt 0x19. To provide protection ***
REM *** from accidentaly rebooting, you must enter ***
REM *** PLEASE as the first parameter. ***
REM *****************************************************************
REM **************************************************************
REM *** Check that "PLEASE" is the first parameter. CEnvi ***
REM *** return errorlevel if it is not please. ***
REM **************************************************************
cenvi return( strcmpi("%1","Please") ? 1 : 0 )
if errorlevel 1 GOTO PLEASE
REM ***************************************************
REM *** Interrupt 0x19 is provided for a warm boot. ***
REM ***************************************************
cenvi reg.ax = 0; interrupt(0x19,reg);
:PLEASE
ECHO Reboot_1.bat will reboot your computer. To execute Reboot.bat you
ECHO must enter: REBOOT_1 PLEASE